Example YAML device configuration#
homeassistant/esphome/esphome_wled_effects.yaml
esphome:
name: esphome_wled_effects
friendly_name: ESPHome Wled Effects
project:
name: esphome_wled.effects
version: "1.0"
min_version: 2023.11.1
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
web_server:
port: 80
# Enable Home Assistant API
api:
ota:
improv_serial:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
on_connect:
- delay: 5s # Gives time for improv results to be transmitted
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "esphome_wled_effects"
captive_portal:
button:
- platform: factory_reset
id: factory_reset_btn
name: Factory reset
light:
- platform: neopixelbus
name: "WLED Effects"
variant: WS2812
id: led
pin: GPIO16
default_transition_length: 250ms
type: grb
num_leds: 142
effects:
- pulse:
name: "Slow Pulse"
transition_length: 250ms
update_interval: 250ms
min_brightness: 50%
max_brightness: 80%
Visual Studio Code Add-on#
Add DDP to your WLED configuration#
You can check the documentation here
External DDP Component
external_components:
- source:
type: git
url: https://github.com/KaufHA/common
components: [ ddp ]
refresh: always
ddp:
light:
- ....
effects:
- addressable_ddp:
name: "DDP"
Set DDP effect in ESPHome after Network is connected#
Members Content
SCRIPT
Join our community to unlock exclusivecontent!
- As a Tinkerer 🤖, you’ll gain:
- Member Content Access: You’ll have the hability to access Scripts, Automations, Templates and more directly from our website.
- Unlock Latest Shop Content for FREE: Look for the MemberFree badge on the title.
Once unlocked, it will remain free for you to access on our website (including future UPDATES!) - Ko-fi Shop Discount: Enjoy a 25% discount on any item in our Ko-fi shop.
- Early Tutorial Access: Get early access to our content on our website.
- Member Shoutout: Stick around until the end for a shoutout to our dedicated members
- Your support is invaluable in allowing us to continue creating the tutorials you like 😁🏠🎉
- Click on any of the buttons below to become a member, and then log in with the same email address.
ESPHome#
WLED Configuration#
I would love to hear your comments, or suggestions on this post.
Fixt is a Software Engineer passionate about making the world a better place through technology and automation.